/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

Copyright (c) 2023-present Kaleidos INC
*/

@import url("tools/typography.css");

.modal-wrapper {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.title {
  @mixin font-heading-4;

  align-items: center;
  border-block-end: 1px solid var(--color-gray30);
  display: flex;
  font-size: var(--font-size-heading-3);
  margin: 0;
  margin-block-end: var(--spacing-16);
  padding-block-end: var(--spacing-16);

  & tui-svg {
    block-size: var(--spacing-16);
    color: var(--color-gray60);
    inline-size: var(--spacing-16);
  }
}

.count {
  color: var(--color-gray80);
  margin-inline-start: var(--spacing-4);
}

.pending {
  @mixin font-paragraph;

  align-items: center;
  color: var(--color-gray80);
  display: flex;
  font-size: var(--font-size-heading-4);
  font-style: italic;
  margin-inline-start: var(--spacing-16);

  & tui-svg {
    margin-inline-end: var(--spacing-4);
  }
}

.member-list-wrapper {
  margin-block-end: var(--spacing-16);
  max-block-size: 55vh;
  overflow-y: auto;
  padding: var(--spacing-4);
}

.modal-bottom {
  border-block-start: 1px solid var(--color-gray30);
  padding-block-start: var(--spacing-16);
  text-align: end;
}

tg-project-members-list {
  display: block;
}
